package com.acerola.yuan_back.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;

/**
 * @program: yuan_back
 * @description: 公告
 * @author: Acerola
 * @create: 2022-08-16 10:26
 **/
@ApiModel("公告")
@TableName("notice_list")
public class Notice {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String noticeText;

    private String noticeTime;

    public Notice() {
    }

    public Notice(Integer id, String noticeText, String noticeTime) {
        this.id = id;
        this.noticeText = noticeText;
        this.noticeTime = noticeTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNoticeText() {
        return noticeText;
    }

    public void setNoticeText(String noticeText) {
        this.noticeText = noticeText;
    }

    public String getNoticeTime() {
        return noticeTime;
    }

    public void setNoticeTime(String noticeTime) {
        this.noticeTime = noticeTime;
    }
}
